export interface playListParams {
  page: number;
  pageSize: number;
  name: string;
  beginDate: string;
  endDate: string;
  type: number | undefined;
  key: string;
}

export interface elderlyData {
  id: number;
  playId: number;
  elderlyId: number;
  elderlyName: string;
  elderlyPhoto: string;
  begName: string;
  houseName: string;
  buildingName: string;
}
interface pictureData {
  id: number;
  playId: number;
  picture: string;
}
export interface playListData {
  id: number;
  companyId: number;
  title: string;
  addTime: string;
  type: number;
  typeName: string;
  content: string;
  addAccountId: number;
  addAccountName: string;
  elderly: elderlyData[];
  pictures: pictureData[];
}

export interface playListReturn {
  counts: number;
  list: playListData[];
  pageSize: number;
}

// 添加
interface elderlyIds {
  elderlyId: number;
}
interface picture {
  picture: string;
}
export interface addPlayParams {
  id: number;
  title: string;
  type: number | undefined;
  content: string;
  elderly: elderlyIds[];
  pictures: picture[];
}
